﻿using B.S.BasicData.Domian.Entities.Account;
using B.S.BasicData.Domian.Entities.Menu;
using B.S.BasicData.Domian.Entities.RBAC;
using B.S.BasicData.Domian.Entities.shenpi;
using Microsoft.EntityFrameworkCore;

namespace B.S.BasicData.Infrastructure
{
    public class MyDbContext : DbContext
    {
        private readonly DbContextOptions options;

        public MyDbContext(DbContextOptions options) : base(options)
        {
            this.options = options;
        }
        public DbSet<AccountModel>accountModels { get; set; }
        public DbSet<CityModel>cityModels { get; set; }
        public DbSet<NlogModel>nlogModels { get; set; }
        public DbSet<ShiModel>shiModels { get; set; }
        public DbSet<XianModel>xianModels { get; set; }
        public DbSet<ShengModel> shengModels { get; set; }

        public DbSet<UserModel> userModels { get; set; }
        public DbSet<RoleModel> roleModels { get; set; }
        public DbSet<UserRoleModel> userRoleModels { get; set; }

        public DbSet<MenuModel> menuModels { get; set; }



        public DbSet<RoleMenuModel> rolemenuModels { get; set; }
        public DbSet<DeptModel> deptModels { get; set; }
        public DbSet<LeaveModel> leaveModels { get; set; }



    }
}
